package com.ningxia.water.service;

import com.ningxia.water.entity.ZtVillageInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ningxia.water.vo.out.ReportVo;
import com.ningxia.water.vo.out.ZonePidVo;
import com.ningxia.water.vo.out.ZoneVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hz
 * @since 2021-05-14
 */
public interface IZtVillageInfoService extends IService<ZtVillageInfo> {

    /**
     * 获取乡村信息
     * @return
     */
    List<ZoneVo> getVillageInfos();

    /**
     * 获取村庄报表
     * @param type
     * @param currentTime
     * @return
     */
    List<ReportVo> getVillageReport(String type, String currentTime);

    /**
     * 获取村庄及其对应的乡镇id
     * @return
     */
    List<ZonePidVo> getVillageRelationship();
}
